/**
 * 
 */
package com.yidu.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

import com.yidu.bean.TbComment;
import com.yidu.dao.TbCommentMapper;
import com.yidu.message.Page;
import com.yidu.service.TbCommentService;

/**
 *
 * @author yichengming
 * 2018年7月24日下午10:10:51
 * @version 1.0
 */
@Service
public class TbCommentImol implements TbCommentService{
	
	Logger logger = Logger.getLogger(TbImageImpl.class);
	
	@Resource
	private TbCommentMapper commentDao;
	
	@Override
	public int delete(String comId) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int save(TbComment comment) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int update(TbComment comment) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<TbComment> findVague(Page page, TbComment comment) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int insertSelective(TbComment comment) {
		logger.info("进入评论增加Dao方法！！！--------------");
		return commentDao.insertSelective(comment);
	}

}
